<style>
#shiftingCopyPage dl span.error {
    position: absolute;
    left: 260px;
}
#shiftingCopyPage .grid .gridTbody td {
    height: 27px;
    line-height: 27px;
}
#shiftingCopyPage .grid .gridTbody td div {
    height: 24px;
    line-height: 24px;
}
#shiftingCopyPage .dateInput {
    float: left;
}
.editCell span.error {
    left: 150px;
    top: 1px;
}
</style>
<div class="pageContent" id="shiftingCopyPage">
    <form class="pageForm required-validate">
        <div class="pageFormContent" id="shiftingCopyPageContent">
            <input type="hidden" name="navTabId" value="${navTabId!''}"> <input type="hidden" name="id" value="${moveType.moveTypeCode}">
            <fieldset>
                <dl>
                    <dt>工作中心：</dt>
                    <dd>
                        <select id="workcenterCode" name="workcenterCode" class="required"> <#list permissions as permission>
                            <option value='${permission.workcenterCode}'>${permission.workcenterText}</option> </#list>
                        </select>
                    </dd>
                </dl>
                <dl>
                    <dt>日期：</dt>
                    <dd>
                        <input id="theDate" name="theDate" size="22" formate type="text" maxlength="60" class="required date" /> <a class="inputDateButton" href="javascript:;" />
                    </dd>
                </dl>
                <dl>
                    <dt>已记录日期：</dt>
                    <dd>
                        <input id="theArrangedDate" name="theArrangedDate" size="22" formate type="text" maxlength="60" class="required date" /> <a class="inputDateButton" href="javascript:;" />
                    </dd>
                </dl>
            </fieldset>
        </div>
        <div class="formBar">
            <ul style="float: left;">
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button id="queryShiftings" type="button"><@label key="ok.B">确定</@label></button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="buttonActiveGrey">
                        <div class="buttonContent">
                            <button type="reset" ><@label key="reset.B">重置</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
    <form class="pageForm required-validate">
        <div id="gridForShiftingCopying"></div>
        <div class="formBar" style="padding-right: 0px;">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button id="saveBtn" type="button"><@label key="save.B">保存</@label></button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="buttonActiveGrey">
                        <div class="buttonContent">
                            <button type="button" id="closeDialog" ><@label key="cancel.B">取消</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
<select id="workcenterTemplate" hidden="true">
    <#list permissions as permission>
    <option value="${permission.workcenterCode}">${permission.workcenterText}</option>
    </#list>
</select>
<script type="text/javascript" src="${rc.getContextPath()}/pages/hr/shifting/copy_shifting.js"></script>